package com.shirley.dbExample.entity;

import jakarta.persistence.*;
import lombok.Data;

/**
 * @author shirley
 */
@Data
@Entity
@Table(name = "t_sub_company")
public class SubCompany {
    @Id
    @Column(name = "sub_company_id")
    private Integer subCompanyId;

    private String name;
    private String address;
}
